import request from '@/router/axios';

export const getWorkList = (current, size, params) => {
  return request({
    url: '/api/smart-govsvc/citywork/deptWorkList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const getDetail = (workId) => {
  return request({
    url: '/api/smart-govsvc/citywork/detail',
    method: 'get',
    params: {
      workId
    }
  })
}

// export const finish = (ids) => {
//   return request({
//     url: '/api/smart-govsvc/citywork/finish',
//     method: 'post',
//     params: {
//       ids,
//     }
//   })
// }


// export const allocationSave = (workId,deptId,assignOpinion) => {
//   return request({
//     url: '/api/smart-govsvc/citywork/allocationSave',
//     method: 'post',
//     params: {
//       workId,
//       deptId,
//       assignOpinion
//     }
//   })
// }